home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
011
/
ds300.arc
/
DS_MOUSE.MSC
< prev
next >
Wrap
Text File
|
1987-06-04
|
15KB
|
342 lines
; DS - DIRECTORY SCANNER POP-UP MENU CONFIGURATION
Comment ("Configured for DS - Directory Scanner Ver 3.00")
; This file is a sample of how to define the pop-up menus and keys to
; work with the Optical PC Mouse from Mouse Systems. The file must be
; compiled with the compiler that comes with the Mouse Systems software.
; The "mousesys" mouse driver must first be loaded in the system, followed
; by the compiled output of this source file.
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
; GLOBAL PARAMETERS
ReverseVideo (Yes) ; Menu is displayed in reverse video
FixedMenu (No) ; Menu is floating (centered on cursor)
EnableBeep (No) ; Allows menu switching rather than beep
ExpertMode (Yes)
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
; CURSOR DEFINITIONS
File_Cursor: Cursor
(
Left ([Left])
Right ([Right])
Up ([Up])
Down ([Down])
Sensitivity (30, 10)
Hysteresis (2, 2)
)
; DEF #1 Definitions When Working With Files
; ┌────────┬──────────────┐ ┌───────────┬─────────────────────────────────────┐
; │ │ UP │ │ │ Left Middle Right │
; │ Mouse │ | │ │ Button │ │
; │Movement│LEFT--|--RIGHT│ │Definitions│ Switch Tag UnTag │
; │ │ | │ │ │ to File File │
; │ │ DOWN │ │ │ DEF #2 │
; └────────┴──────────────┘ └───────────┴─────────────────────────────────────┘
Dir_Cursor: Cursor
(
Left ([F1])
Right ([F2])
Up ([F1])
Down ([F2])
Sensitivity (10, 10)
Hysteresis (2, 2)
)
; DEF #2 Definitions When Working With Directories
; ┌────────┬───────────┐ ┌───────────┬─────────────────────────────────────┐
; │ │ F1 │ │ │ Left Middle Right │
; │ Mouse │ | │ │ Button │ │
; │Movement│ F1--|--F2 │ │Definitions│ Switch F3 <CR> │
; │ │ | │ │ │ to │
; │ │ F2 │ │ │ DEF #1 (Rtn to root) │
; └────────┴───────────┘ └───────────┴─────────────────────────────────────┘
Macro_Cursor: Cursor
(
Left ([Left])
Right ([Right])
Up ([Up])
Down ([Down])
Sensitivity (10, 10)
Hysteresis (10, 2)
)
; DEF #3 Definitions When Working With MACROS
; ┌────────┬──────────────┐ ┌───────────┬─────────────────────────────────────┐
; │ │ UP │ │ │ Left Middle Right │
; │ Mouse │ | │ │ Button │ │
; │Movement│LEFT--|--RIGHT│ │Definitions│ Tab Tag UnTag │
; │ │ | │ │ │ File File │
; │ │ DOWN │ │ │ │
; └────────┴──────────────┘ └───────────┴─────────────────────────────────────┘
Link1_Cursor: Cursor
(
Left ([Up])
Right ([Down])
Up ([Up])
Down ([Down])
Sensitivity (10, 10)
Hysteresis (2, 2)
)
; DEF #4 Definitions When Working With DIR Links (Right Display)
; ┌────────┬──────────────┐ ┌───────────┬─────────────────────────────────────┐
; │ │ UP │ │ │ Left Middle Right │
; │ Mouse │ | │ │ Button │ │
; │Movement│ UP--|--DOWN │ │Definitions│ Switch <Esc> <CR> │
; │ │ | │ │ │ to │
; │ │ DOWN │ │ │ DEF #5 │
; └────────┴──────────────┘ └───────────┴─────────────────────────────────────┘
Link2_Cursor: Cursor
(
Left ([F1])
Right ([F2])
Up ([F1])
Down ([F2])
Sensitivity (10, 10)
Hysteresis (2, 2)
)
; DEF #5 Definitions When Working With DIR Links (Left Display)
; ┌────────┬───────────┐ ┌───────────┬─────────────────────────────────────┐
; │ │ F1 │ │ │ Left Middle Right │
; │ Mouse │ | │ │ Button │ │
; │Movement│ F1--|--F2 │ │Definitions│ Switch <Esc> <CR> │
; │ │ | │ │ │ to │
; │ │ F2 │ │ │ DEF #4 │
; └────────┴───────────┘ └───────────┴─────────────────────────────────────┘
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
; BUTTON DEFINITIONS
Tag_it: Button (Keys("t"))
UnTag_it: Button (Keys("u"))
Top_Dir: Button (Keys([F3]))
CR: Button (Keys([Enter]))
ESC_Key: Button (Keys([Esc]))
TAB_Key: Button (Keys([Tab]))
Page_Up: Button (Keys([PgUp]))
Page_Dn: Button (Keys([PgDn]))
Up_Key: Button (Keys([Up]))
HOME_Key: Button (Keys([Home]))
END_KEY: Button (Keys([End]))
Dir_Buttons: Button (Cursor (Dir_Cursor)
Button (Left=File_Buttons)
Button (Middle=Top_Dir)
Button (Right=CR))
File_Buttons: Button (Cursor (File_Cursor)
Button (Left=Dir_Buttons)
Button (Middle=Tag_it)
Button (Right=UnTag_it))
Esc_File_Buttons:Button (Cursor (File_Cursor)
Keys ([Esc])
Button (Left=Dir_Buttons)
Button (Middle=Tag_it)
Button (Right=UnTag_it))
Rtn_File_Buttons:Button (Cursor (File_Cursor)
Keys ([Enter])
Button (Left=Dir_Buttons)
Button (Middle=Tag_it)
Button (Right=UnTag_it))
Link1_Buttons: Button (Cursor (Link1_Cursor)
Button (Left=Link2_Buttons)
Button (Middle=Esc_File_Buttons)
Button (Right=Rtn_File_Buttons))
Link2_Buttons: Button (Cursor (Link2_Cursor)
Button (Left=Link1_Buttons)
Button (Middle=Esc_File_Buttons)
Button (Right=Rtn_File_Buttons))
LM_CHORD: Button (Menu(LM_MENU))
LR_CHORD: Button (Menu(LR_MENU))
MR_CHORD: Button (Menu(MR_MENU))
LMR_RESET: Button (Menu(RESET_MOUSE))
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
; MENU DEFINITIONS
LM_MENU: Menu(
Title ("Main Commands")
Position(UpperLeft(0,1))
Item (" ", Keys())
Item ("List File", Keys("l")
Cursor(Link1_Cursor)
Button (Left=Page_Up)
Button (Middle=Esc_File_Buttons)
Button (Right=Page_Dn))
Item ("Edit File", Keys("e"))
Item ("Execute File", Keys("x"))
Item ("─────────────", Keys([Esc]))
Item ("Copy Tagged", Keys([a-c]))
Item ("Delete Tagged", Keys([a-d]))
Item ("Move Tagged", Keys("m"))
Item ("─────────────", Keys([Esc]))
Item ("Enter Command", Keys("c")
Cursor(File_Cursor)
Button (Left=Up_Key)
Button (Middle=ESC_Key)
Button (Right=Rtn_File_Buttons))
Item ("Drive Change", Menu(DRIVES))
Item ("Dir Add/Del", Keys([c-d])
Cursor(Dir_Cursor)
Button (Left=File_Buttons)
Button (Middle=Top_Dir)
Button (Right=CR))
Item ("─────────────", Keys([Esc]))
Item ("PageUp Files", Keys([PgUp]))
Item ("PageDn Files", Keys([PgDn]))
Item ("─────────────", Keys([Esc]))
Item ("Tag All", Keys([a-t]))
Item ("Untag All", Keys([a-u])))
LR_MENU: Menu(
Title ("Misc Commands")
Position(UpperLeft(32,1))
Item (" ", Keys())
Item ("Help Summary", Keys("?"))
Item ("Help Expanded", Keys([F10])
Cursor(File_Cursor)
Button (Left=HOME_Key)
Button (Middle=Esc_File_Buttons)
Button (Right=END_Key))
Item ("─────────────", Keys([Esc]))
Item ("Attrib Files", Keys("a"))
Item ("Attrib Dir", Keys([c-a]))
Item ("─────────────", Keys([Esc]))
Item ("Backup Files", Keys("b"))
Item ("─────────────", Keys([Esc]))
Item ("Color Changes", Keys([a-k]))
Item ("EGA 43/25 Tog", Keys([a-e]))
Item ("─────────────", Keys([Esc]))
Item ("Find File", Keys("f"))
Item ("Free Space", Menu(FREE_SPACE))
Item ("─────────────", Keys([Esc]))
Item ("Print Tagged", Keys("p"))
Item ("Rename File", Keys("r"))
Item ("Select & Sort", Keys([a-s])))
MR_MENU: Menu(
Title ("Misc Commands")
Position(UpperRight(79,1))
Item (" ", Keys())
Item ("┌───MACROS──┐", Keys())
Item ("Shft F1 - F9", Keys([s-F10])
Cursor(Macro_Cursor)
Button (Left=TAB_Key)
Button (Middle=Esc_File_Buttons)
Button (Right=Rtn_File_Buttons))
Item ("Ctrl F1 - F9", Keys([c-F10])
Cursor(Macro_Cursor)
Button (Left=TAB_Key)
Button (Middle=Esc_File_Buttons)
Button (Right=Rtn_File_Buttons))
Item ("Alt F1 - F9", Keys([a-F10])
Cursor(Macro_Cursor)
Button (Left=TAB_Key)
Button (Middle=Esc_File_Buttons)
Button (Right=Rtn_File_Buttons))
Item (" ", Keys())
Item ("┌───LINKS───┐", Keys())
Item ("1-9 Links", Keys("0")
Cursor(Link1_Cursor)
Button (Left=Link2_Buttons)
Button (Middle=Esc_File_Buttons)
Button (Right=Rtn_File_Buttons))
Item ("Alt 1-9 Links", Keys([a-0])
Cursor(Link1_Cursor)
Button (Left=Link2_Buttons)
Button (Middle=Esc_File_Buttons)
Button (Right=Rtn_File_Buttons))
Item (" ", Keys())
Item ("Edit/List Chg", Keys([c-e])
Cursor(Macro_Cursor)
Button (Left=HOME_Key)
Button (Middle=Esc_File_Buttons)
Button (Right=Rtn_File_Buttons))
Item (" ", Keys())
Item ("─────────────", Keys([Esc]))
Item ("Prog Limits", Keys([c-l]))
Item ("Rescan Tree", Keys([a-r]))
Item (" ", Cursor (Dir_Cursor))
Item ("Scrn Refresh", Keys("s"))
Item ("Volume ID Tog", Keys([c-v])))
DRIVES: Menu(
Title ("DRIVES")
Position(UpperLeft(1,1))
Item (" ", )
Item ("A", Keys("da" [Enter]))
Item ("B", Keys("db" [Enter]))
Item ("C", Keys("dc" [Enter]))
Item ("D", Keys("dd" [Enter]))
Item ("E", Keys("de" [Enter])))
FREE_SPACE: Menu(
Title ("DRIVES")
Position(UpperLeft(1,1))
Item (" ", )
Item ("A", Keys([a-f] "a" ))
Item ("B", Keys([a-f] "b" ))
Item ("C", Keys([a-f] "c" ))
Item ("D", Keys([a-f] "d" ))
Item ("E", Keys([a-f] "e" )))
RESET_MOUSE: Menu(
Title ("RESET MOUSE")
Position(LowerCenter(40,20))
Item ("File Mouse", Cursor (File_Cursor)
Button (Left=Dir_Buttons)
Button (Middle=Tag_it)
Button (Right=UnTag_it))
Item ("Dir Mouse", Cursor (Dir_Cursor)
Button (Left=File_Buttons)
Button (Middle=Top_Dir)
Button (Right=CR)))
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
; MOUSE DEFINITION
Mouse(
Cursor (Dir_Cursor)
Left (File_Buttons)
Middle (Top_Dir)
Right (CR)
LeftMiddle (LM_CHORD)
LeftRight (LR_CHORD)
MiddleRight (MR_CHORD)
LeftMiddleRight (LMR_RESET))